import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  channelId: [{ required: true, message: "请选择频道", trigger: "blur" }],
  userId: [{ required: true, message: "请选择用户", trigger: "blur" }],
  priority: [{ required: true, message: "请选择优先级", trigger: "blur" }]
});
